﻿using System;
using System.ComponentModel.DataAnnotations;

namespace Kay.NetworkHelper.Models.Entitys
{
    public class Arg
    {
        [Key]
        public Guid Id { get; set; }

        [Required]
        [StringLength(128)]
        [DataType("varchar")]
        public string Name { get; set; }

        [Required]
        [DataType("text")]
        public string Value { get; set; }

        [Required]
        public ushort ArgType { get; set; }

        public DateTime CreationTime { get; set; }

        public DateTime? LastModifyTime { get; set; }

        [Required]
        public UriHistory Url { get; set; }
    }
}
